package de.openkanban.server.service;

import de.openkanban.server.domain.History;
import de.openkanban.shared.util.HistoryAction;
import de.openkanban.shared.util.StatusCodes;

/**
 * history service api
 */
public interface HistoryService {
	StatusCodes writeHistoryEntry(Long boardId, Long userId, Long activityId, HistoryAction historyAction, String text);

	StatusCodes writeHistoryEntry(Long userId, Long parentActivityId, HistoryAction createKanban, String historyText);
	
	History[] getFullBoardHistory(Long boardId);

}
